package org.goj.practice.service;

import org.goj.common.entity.practice.ContestUser;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author CK
 * @since 2021-04-20
 */
public interface ContestUserService extends IService<ContestUser> {

    /**
     * 添加用户和竞赛的关联
     *
     * @param contestId 竞赛ID
     * @param userId    用户ID
     * @return int
     * @author CK
     * @date 2021/4/22 15:55
     */
    int addContestUser(Integer contestId, Integer userId);
}
